<!-- 系统首页 -->

<template>
  <div style="height: 100%">
    <div id="main" style="height: 100%;">

      <div id="content">
        <h1>考试系统</h1>
        <hr style="width: 95%;margin-bottom: 100px">
        <router-link to="TeaLogin">
          <el-button type="danger">教师登录</el-button>
        </router-link>
        <router-link to="StuLogin">
          <el-button type="primary" style="margin-left: 120px">学生登录</el-button>
        </router-link>
      </div>

    </div>
  </div>
</template>

<script>
export default {
  name: "Home"
}
</script>

<style scoped>
.el-button {
  width: 300px;
  height: 160px;
  display: inline-block;
  font-size: 35px;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 3px 3px 3px rgba(0, 0, 0, .2);
}

#main {
  background-image: url("../assets/bj.jpg");
}

#content {
  width: 50%;
  height: 60%;
  margin: 100px 500px 0 500px;
  text-align: center;
  -moz-background-size: 100% 100%;
  background-size: 100% 100%;
  background-image: url("../assets/bj_2.jpg");
  box-shadow: 0 8px 8px rgba(10,16,20,.24),0 0 8px rgba(10,16,20,.12);
  border-radius: 25px;
  position: fixed;
  box-sizing: border-box;
}

h1 {
  color: rgba(0,0,0,0.6); text-shadow: 2px 8px 6px rgba(0,0,0,0.2), 0 -5px 35px rgba(255,255,255,0.3);
  background-image: linear-gradient(to right bottom, #66ccff, #ffffff); /* 线性渐变背景，方向向上 */
  -webkit-background-clip: text; /* 背景被裁剪成文字的前景色 */
  -webkit-text-fill-color: transparent; /* 文字填充颜色变透明 */
}
</style>